package radio.vnmedia.vn;

public interface Defines {

	public static final int STATE_TAB_CATEGORY = 0;
	public static final int STATE_TAB_NEWEST = 1;
	public static final int STATE_TAB_TOPHIT = 2;
	public static final int STATE_RADIO_TRACKS_LIST = 3;

	// for category
	public static final String KEY_LABEL_STR = "title";
	public static final String KEY_LINK_STR = "link";
	// add for top hot track and top play list
	public static final String KEY_THOILUONG_STR = "thoiluong";
	public static final String KEY_LUOTNGHE_STR = "luotnghe";
	public static final String KEY_SELECT_STR = "selected";

	public static final int KEY_LINK_INT = 0;
	public static final int KEY_LABEL_INT = 1;
	public static final int KEY_THOILUONG_INT = 2;
	public static final int KEY_LUOTNGHE_INT = 3;
	//public static final int KEY_SELECT_INT = 4;

	public static final int HTML_ENTITY = 0;
	public static final int HTML_CHARACTER = 1;

	public static final String URL_HOME_PAGE = "http://radio.vnmedia.vn/Default.aspx?pc=1";
	public static final String URL_HEAD_CHUYENMUC = "http://radio.vnmedia.vn";
	public static final String _PAGE_ = "&page=";

	public static final int IO_BUFFER_SIZE = 2048;

	public static final String TAG_FF_CLOSE = "tag_close";
	public static final String TAG_FF_OPEN = "tag_open";

	public static final int MODE_AUDIO = 0;
	public static final int MODE_VIDEO = 1;

	// public static final String KEY_INTENT_NOTIFY = "IntentNotify";

	public static final String TAG_FB_CLOSE = "caudal_barrier";
	public static final String TAG_FB_OPEN = "first_barrier";

	public static final String NOTIFY_EXIT_FILE_PATH = "/data/data/radio.vnmedia.vn/exit";
	public static final String NOTIFY_SKIP_INTRO_FILE_PATH = "/data/data/radio.vnmedia.vn/skipintro";

	public static final String FLASH_EMBED_CODE = "<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"></head><body style='margin:0; pading:0; background-color: black;'><embed style='width:100%; height:100%'  src='http://www.platipus.nl/flvplayer/download/1.0/FLVPlayer.swf?fullscreen=true&video=@VIDEO@' "
			+ "  autoplay='true' "
			+ "  quality='high' bgcolor='#000000' "
			+ "  name='VideoPlayer' align='middle'"
			+ " width='300' height='200'"
			+ "  allowScriptAccess='*' allowFullScreen='true'"
			+ "  type='application/x-shockwave-flash' " + "  pluginspage='http://www.macromedia.com/go/getflashplayer' /></body></html>";

}
